﻿using System;
using System.ComponentModel.DataAnnotations;
using XStudio.XCRF.Data.Business.Archieve;

namespace XStudio.XCRF.Data.Entities.CureInfo
{
    /// <summary>
    /// 治疗信息 放疗信息
    /// </summary>
    public partial class CureRadio : Radio<CureRadio>, IArchieve
    {
        #region 属性
        /// <summary>
        /// 治疗信息ID
        /// </summary>
        [ForeignKey("CureInfo")]
        public Guid? CureInfoID { get; set; }
        /// <summary>
        /// 治疗信息
        /// </summary>
        public virtual CureInfo CureInfo { get; set; }
        #endregion 属性

        public CureRadio Clone()
        {
            CureRadio cr = new CureRadio();
            cr.Creater = this.Creater;
            cr.CreaterID = this.CreaterID;
            cr.CreateTime = this.CreateTime;
            cr.CureInfo = this.CureInfo;
            cr.CureInfoID = this.CureInfoID;
            cr.Dose = this.Dose;
            cr.IsDeleted = this.IsDeleted;
            cr.LastModifier = this.LastModifier;
            cr.LastModifierID = this.LastModifierID;
            cr.LastModifyTime = this.LastModifyTime;
            cr.Master = this.Master;
            cr.MasterID = this.MasterID;
            cr.Place = this.Place;
            cr.Remark = this.Remark;
            cr.Times = this.Times;
            return cr;
        }
    }
}